package com.weetop.aklyscan.bean;

import java.util.ArrayList;

import lombok.Data;

@Data
public class GoodData {
    private String g_id;
    private String s_id;
    private String is_collect;
    private String status;
    private String goods_name;
    private String total_sales;
    private String is_activity;
    private String pic;
    private String credits;
    private String create_at;
    private float price;
    private float origin_price;
    private String intro;
    private String is_hot;
    private String is_new;
    private InfoShow info;
    private ArrayList<BannerInfo> pics = new ArrayList<>();
    private ArrayList<PropertieInfo> properties = new ArrayList<>();
    private ArrayList<BannerInfo> detail_pics = new ArrayList<>();
    private ShopInfo shop;
    private Sale sale_data;
    private String collect_num;
    private String total_stock;
    private String stock;

    private String url;

    @Data
    public class InfoShow {
        private String g_id;
        private String goods_detail;
        private String quality_report;
        private String faq;
    }

    @Data
    public class Sale {
        private String gd_id;
        private String g_id;
        private String total_sales;
        private String month_sales;
        private int one_star;
        private int three_star;
        private int two_star;
        private int four_star;
        private int five_star;
        private int total_evaluate;

    }
}
